package com.heima.wemedia.service;

import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @author jay
 */
public interface WmSensitiveExcelService {

    /**
     * 将敏感词转换为Excel文件并下载
     * @param response
     */
    void downloadAsExcel(HttpServletResponse response);

    /**
     * 通过excel文件添加敏感词
     * @param file
     * @return
     */
    ResponseResult addSensitiveFromExcelFile(MultipartFile file);
}
